package com.guofen.service.sjq;

import com.guofen.pojo.SjqCompostProduceMaintenanceWeek;
import com.guofen.pojo.SjqWaterProductionEquipmentMaintenanceWeek;

import java.util.List;
import java.util.Map;

public interface SjqWaterProductionEquipmentMaintenanceWeekService {
    public boolean add_operator(String equipmentName,String maintenanceContent,String isNormal,String operator,String remarks);

    public boolean add_inspector(String id,String inspector,String remarks);

    public SjqWaterProductionEquipmentMaintenanceWeek getlast(String equipmentName,String maintenanceContent);

    public List<SjqWaterProductionEquipmentMaintenanceWeek> getlastByName(String equipmentName);

    List<Boolean> is_last_complete(String equipmentsName, String menstanceNum, String role);

    public int getInThisWeek();

    public List<SjqWaterProductionEquipmentMaintenanceWeek> getWeekRecords();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(SjqWaterProductionEquipmentMaintenanceWeek record);
}
